package com.example.exam.service;

import com.example.exam.entity.ExamUser;
import com.example.exam.vo.ExamPaperVO;

import java.util.List;

/**
 * @author shishuqian
 * date 2021/7/4
 * time 17:43
 **/
public interface ExamUserService {
    void selectPeople(Integer examPaperId, List<Integer> userIds);

    List<ExamUser> findAllByExamPaperId(Integer examPaperId);

    List<String> findFillByExamPaperId(Integer examPaperId,Boolean filled);

    ExamUser findByExamPaperIdAndUserId(Integer examPaperId,Integer userId);

    //记录某人已做某试卷
    void setFilled(Integer examPaperId,Integer UserId);

    List<ExamPaperVO> waitToDo(Integer userId);
}
